package com.threeox.commonlibrary.ui.activity;

import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import com.threeox.commonlibrary.entity.engine.model.table.TableModelMessage;
import com.threeox.commonlibrary.ui.activity.base.BaseModelActivity;
import com.threeox.commonlibrary.ui.view.engineview.tablemodel.TableModelView;

/**
 * 
 * @ClassName: TableModelActivity
 * 
 * @Description: TODO(表格Activity)
 * 
 * @author 赵屈犇
 * 
 * @date 创建时间: 2017/8/15 15:50
 * 
 * @version 1.0
 * 
 */
public class TableModelActivity extends BaseModelActivity {

    private TableModelView mTableModelView;
    private TableModelMessage mTableModelMessage;

    @Override
    protected void setView(Bundle stateBundle) {
        mTableModelView = new TableModelView(mContext);
        initFullScreenState(mTableModelView);
        mTableModelView.initData(mIntent);
        mTableModelMessage = mTableModelView.getTableModelMessage();
        addContentView(mTableModelView, new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
    }

    @Override
    protected void initView() {
        initBaseModelMessage(mTableModelMessage, mTableModelView);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void setListener() {

    }
}
